package com.hmys.api.mapper;

import com.hmys.api.model.WebCityPhoto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebCityPhotoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebCityPhoto record);

    int insertSelective(WebCityPhoto record);

    WebCityPhoto selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebCityPhoto record);

    int updateByPrimaryKey(WebCityPhoto record);

    List<WebCityPhoto> selectByCityId(Long cityId);
}